package com.bw.module_car.repo

import com.bw.lib_common.model.BaseRepository
import com.bw.lib_http.OkHttpClientManager
import com.bw.module_car.api.CarApiService

class CarRepo : BaseRepository<CarApiService>() {
    override fun createApiServer(): CarApiService  = OkHttpClientManager.retrofitInstance.create(CarApiService::class.java)

    suspend fun getCar() = apiService.getCar()

    suspend fun getProvinces() = apiService.getProvinces()


    suspend fun getRecord() = apiService.getRecord()


}